import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'amfe-flexible'
import '@/styles/index.less'
// import { carouselApi } from '@/api'

import BaiduMap from 'vue-baidu-map'
import './assets/icon-font/iconfont.css'
// 路由守卫
import '@/utiles/permit.js'
import './vant.js'
Vue.use(BaiduMap, {
  // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
  ak: 'YOUR_APP_KEY'
})

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
// const myFn = () => {
//   carouselApi()
// }
// myFn()
